//
//  FMDBJurisdiction.h
//  NursingManage
//
//  Created by Zhen Huang on 17/5/17.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <FMDB.h>
#import "HJurisdictionModel.h"

@interface FMDBJurisdiction : NSObject
@property (nonatomic,retain)FMDatabase *db;

+ (FMDBJurisdiction *)sharedFMDBManeger;
//1.创建数据库
- (void)dataBase;

//2.创建表
- (void)createTable;
//3.添加数据
- (void)insertHJD:(HJurisdictionModel *)HJDModel;
//4.删除数据
- (void)deleteHJD:(HJurisdictionModel *)HJDModel;
//5.更新数据
- (void)updateHJD:(HJurisdictionModel *)HJDModel;
//6.查询数据
- (NSMutableArray *)allModel;


@end
